<!DOCTYPE html>
<html>

<head>
  <% include  ./template/commonCss.ejs %>
  <link href="<%=resUrl%>/css/capital_details.css" rel="stylesheet" type="text/css" />
  <% include ./template/commonJs.ejs %>
  <% include ./template/chatLister.ejs %>
</head>

<body ontouchstart>
  <% var topTitle = '资金明细';var topReturnType = '' %>
  <% include ./template/topReturn.ejs %>
  <div id="aroundBox" <%if(locals.token && token != ''){%>style="top:0;" <%}%>>
    <!--下拉刷新-->
    <div class="weui-pull-to-refresh__layer" style="padding: 5px;">
      <div class="weui-pull-to-refresh__arrow"></div>
      <div class="weui-pull-to-refresh__preloader"></div>
      <div class="down">下拉刷新</div>
      <div class="up">释放刷新</div>
      <div class="refresh">正在刷新</div>
    </div>
    <div class="weui-panel weui-panel_access" id="contentTo"></div>
    <script id="content" type="text/html">
        <div class="weui-panel__bd" >
            {{each list}}
            <a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__bd">
                  <h4 class="weui-media-box__title">
                      {{$value.typeName}}
                  </h4>
                  <p class="weui-media-box__desc">{{$value.createDate | TimestampToTime}}</p>
                </div>
                  <div class="weui-media-box__bd price {{$value.money>0?'reduce':'plus'}}"><!--reduce -->
                  {{$value.money}}
                </div>
              </a>
            {{/each}}
        </div>
    </script>
    <div class="weui-loadmore" id="loadmore">
      <i class="weui-loading"></i>
      <span class="weui-loadmore__tips">正在加载</span>
    </div>
    <div class="weui-loadmore weui-loadmore_line" style="display:none;" id="nomore">
      <span class="weui-loadmore__tips">到底了</span>
    </div>
  </div>
  <script type="text/javascript" src="<%=resUrl%>/js/capital_details.js"> </script> 
</body> 
</html>